//
//  Manager.cpp
//  Staff management
//
//  Created by ryu on 2021/8/21.
//

#include "manager.hpp"
using namespace std;
#include <iostream>
#include "worker.hpp"

Manager::Manager(int id,int dp_id, string name){
    this->id = id;
    this->dp_id = dp_id;
    this->name = name;
};
void Manager::showInfo(){
    cout
    <<"员工ID： "
    <<this->id
    <<",员工部门ID： "
    <<this->dp_id
    <<"员工姓名： "
    <<this->name
    <<this->getDeptName()
    <<endl;
};
string Manager::getDeptName(){
    return "完成老板交给的任务，并下发任务给员工";
};

////类外实现
//void Manager::showInfo(){
//    cout<<"wdnmd"<<endl;
//}
